package com.lml.dao;

import java.util.List;
import org.springframework.context.ApplicationContext;
import org.springframework.dao.DataAccessException;

import com.lml.po.BasePO;


public abstract interface ISingleTableDao
{
  public abstract void insert(BasePO basePO)
    throws DataAccessException;

  public abstract void insert(List<BasePO> paramList)
    throws DataAccessException;

  public abstract void update(BasePO paramBasePO)
    throws DataAccessException;

  public abstract void update(List<BasePO> paramList)
    throws DataAccessException;

  public abstract void update(String strUpdSql)
    throws DataAccessException;

  public abstract void delete(BasePO paramBasePO)
    throws DataAccessException;

  public abstract void delete(List<BasePO> paramList)
    throws DataAccessException;

  public abstract List selectSplit(String sql, Integer firstResult, Integer maxResults)
    throws DataAccessException;

  public abstract void exeSql(StringBuffer paramStringBuffer)
    throws DataAccessException;

  public BasePO selectBasePO(BasePO basePO);
  
  public String queryString(String sql);
  
  public abstract ISingleTableDao getFromApplicationContext(ApplicationContext paramApplicationContext);
}